<style>
	.price{margin-bottom: 5px;display: block;float: left;width: 100%;}
	.price i{font-size: 30px;cursor:pointer}
	.layui-input-block input{ padding-left: 10px;height: 38px;margin-right: 5px;
		line-height: 38px;
		line-height: 36px\9;
		border: 1px solid #e6e6e6;
		background-color: #fff;
		border-radius: 2px;}</style>
<div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-card-body">
        <form class="layui-form" action="<?=url('mailconfig/add');?>">
            <div class="layui-form-item">
              <label class="layui-form-label">标题</label>
              <div class="layui-input-block">
                <input type="text" name="title" value="" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
              </div>
            </div>
			<div class="layui-form-item">
              <label class="layui-form-label">内容</label>
              <div class="layui-input-block">
				  <script id="content" style="height:400px;" name="content" type="text/plain"></script>
                  <div class="layui-form-mid layui-word-aux">变量函数说明：站点名称 {$site_name} | 时间点 {$send_time} | 验证码 {$verify_code} | 自提码 {$pickup_code}</div>
              </div>
            </div>
          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit lay-filter="myform">立即提交</button>
              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </div>
        </form>
      </div>
    </div>
</div>
<script>
layui.use(['form','upload'], function(){
  var ue = UE.getEditor('content');
});
</script>
